package com.platform.api.bzproject.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 达人注册表
 * </p>
 *
 * @author guoshao
 * @since 2021-10-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_bz_talent")
public class BzTalent extends Model {

    private static final long serialVersionUID = 1L;


    @TableId()
    private Long id;


    /**
     * 用户ID
     */
    private String userid;

    /**
     * 用户ID
     */
    private String openid;

    /**
     * 用户腾头像
     */
    private String pic;

    /**
     * 姓名
     */
    private String nickname;

    /**
     * 手机
     */
    private String phone;

    /**
     * 微信号
     */
    private String wxaccount;

    /**
     * 抖音号
     */
    private String dyaccount;

    /**
     * 口令
     */
    private String word;

    /**
     * 推荐人口令
     */
    private String recommenderWord;
    //上级用户
    private String parentUserid;

    /**
     * 状态：1-待审核；2-审核通过；3审核不通过;4-账号封禁
     */
    private Integer status;

    /**
     * 注册时间
     */
    private Date regTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private String avatarUrl;


    /**
     * 银行卡号
     */
    private String bankCardNo;
    /**
     * 银行名称
     */
    private String bankName;
    /**
     * 持卡人名称
     */
    private String cardName;
    /**
     * 开户支行
     */
    private String bankBranch;

    private Long dsort;

    /**
     * 二维码
     */
    private String qrCode;


    @TableField(exist = false)
    private String code;

    @TableField(exist = false)
    private String miniType;

    @TableField(exist = false)
    private String loginPassword;

    @TableField(exist = false)
    private int vipAccount;

}
